package com.itheima.mOop;

import java.util.Scanner;

public class TestPhone {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        Phone p1 = new Phone();
        p1.setBrand("小米");
        p1.setPrice(1998);
        System.out.println("p1.getBrand() = " + p1.getBrand());
        System.out.println("p1.getPrice() = " + p1.getPrice());
        p1.call("小王");
        p1.sendMessage();
    }
}
